go/types.Checker.newTypeParam (method)

4 uses

	go/types (current package)
		builtins.go#L866: 		ptyp := check.newTypeParam(tpar, NewInterfaceType(nil, []Type{NewUnion(terms)})) // assigns type to tpar as a side-effect
		decl.go#L683: 		tpar := check.newTypeParam(tname, Typ[Invalid])          // assigns type to tpar as a side-effect
		typeparam.go#L36: 	return (*Checker)(nil).newTypeParam(obj, constraint)
		typeparam.go#L40: func (check *Checker) newTypeParam(obj *TypeName, constraint Type) *TypeParam {